package com.fxl.majiang.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author fengxinglei
 * @date 2022/8/2 9:02
 * @description 输出msg类型
 */
@Getter
@AllArgsConstructor
public enum OutputMsgTypeEnum {
    WELCOME(1, "加入房间"),
    ERROR(2, "错误提示语"),
    USER_STATUS(3, "玩家状态"),
    START_TILES(4, "起手牌"),
    PLAYED_CARD(5, "出牌提醒"),
    SELF_GRABBING(6, "自己抓牌"),
    OTHER_GRABBING(7, "别人抓牌"),
    SELF_SUPPLEMENT(8, "自己补花"),
    OTHER_SUPPLEMENT(9, "别人补花"),
    CHI(10, "用户吃牌"),
    PENG(11, "用户碰牌"),
    MING_GANG_IT(12, "用户明杠了某张打出的牌"),
    SELF_AN_GANG(13, "自己暗杠"),
    OTHER_AN_GANG(14, "别人暗杠"),
    SELF_HUA_AN_GANG(15, "自己花暗杠"),
    OTHER_HUA_AN_GANG(16, "别人花暗杠"),
    HU(17, "胡牌"),
    LEAVE_ROOM(18, "用户离开房间"),
    RECONNECT(19, "重连"),
    OTHER_JOIN(20, "其他人加入房间"),
    SUPPLEMENT_WHEN_START_REMINDER(21, "补花提醒"),
    PLAY_REMINDER(22, "轮到某位玩家出牌提醒"),
    LEFT_TILES_COUNT(23, "剩余可抓的牌数量"),
    MING_GANG_AFTER_GRABBING(24, "抓牌之后明杠"),
    NO_REMAINING_TILES(25, "没有剩余牌可以抓");

    private int code;

    private String name;
}
